]> dgit.raspbian.org Git - gnome-shell.git/commit
background: Pass cancellable when querying file info
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 13 Apr 2022 18:14:47 +0000 (20:14 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 13 Apr 2022 21:12:27 +0000 (21:12 +0000)
commitdd28832dcdb7ef390cc444ec046cfafce56ebc81
treef1c0bf069ee44048c26021afec0a1de1146f1d00
parente69da36095d5093c1c7bec7a9c96c079c0b837f9
background: Pass cancellable when querying file info

Otherwise it is possible that the operation completes successfully
after the background has been destroyed, which will throw a warning
(caused by accessing the this._fileWatches object after it has been
nulled).

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5337

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2268>
js/ui/background.js